<?php
$isadmin=1;
include_once 'check.php';
include_once 'data/config.inc.php';				//系统初始化文件
include_once('../comm/class_db.php');
//删除
if($_POST['act']=="cdelete"){
	$id = $_POST ['id'];
	delete_sql('adminlog','id in ('.$id.')',1);
}if($_POST['act']=="alldel"){
	delete_sql('adminlog','1=1',1);
}
?>